package com.dd.common.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;


@Schema(description = "用户权限信息")
@Data
public class SysUserAuthInfoVO {
    @Schema(description = "菜单树")
    private List<MenuVO> menus;         // 菜单树
    @Schema(description = "操作权限")
    private List<String> permissions;   // 操作权限，如 user:add
    @Schema(description = "角色编码")
    private List<String> roles;         // 角色编码，如 ROLE_ADMIN
}
